#include GLFi_HEADER_API(core/str, posix)

namespace glf {

#ifndef GLF_HAS_STRCPY_S
int Strcpy_s(char* dst, size_t N, const char* src) {
	return ::strcpy_s(dst, N, src);
}
#define GLF_HAS_STRCPY_S
#endif

#ifndef GLF_HAS_STRNCPY_S
errno_t Strncpy_s(char* dst, size_t maxDst, const char* src, size_t count) {
	return ::strncpy_s(dst, maxDst, src, count);
}
#define GLF_HAS_STRNCPY_S
#endif

int Vsprintf_s(char* str, size_t N, const char* format, glfVaList args) {
	return ::vsprintf_s(str, N, format, args);
}
#define GLF_HAS_VSPRINTF_S 

int Vsnprintf_s(char* str, size_t N, size_t maxWrite, const char* format, glfVaList args) {
	return ::vsnprintf_s(str, N, maxWrite, format, args);
}
#define GLF_HAS_VSNPRINTF_S

int Stricmp(const char* str1, const char* str2) {
	return ::_stricmp(str1, str2);
}
#define GLF_HAS_STRICMP

int Strnicmp(const char* str1, const char* str2, size_t num) {
	return ::_strnicmp(str1, str2, num);
}
#define GLF_HAS_STRNICMP

}

